package com.ldu.dao.mapper;

import java.util.List;

import com.ldu.pojo.Notice;
import com.ldu.pojo.NoticeExtend;
import org.apache.ibatis.annotations.Param;

public interface NoticeMapper {
    int deleteByPrimaryKey(@Param("id") Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    public List<Notice> getAllNoticeList();
	public List<Notice> getNoticeList();

    public List<Notice> selectNoticeList();
    public List<Notice> getPageNoticeByNotice(@Param("id")Integer id, @Param("status")Integer status);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKeyWithBLOBs(Notice record);

    int updateByPrimaryKey(Notice record);
    /**
     * 根据id获取
     * @param Id
     * @return
     */
    public Notice selectById(int id);

}